package com.change.declare.crm.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.change.common.utils.PageUtils;
import com.change.common.utils.Query;

import com.change.declare.crm.dao.ClientconsigneesDao;
import com.change.declare.crm.entity.ClientconsigneesEntity;
import com.change.declare.crm.service.ClientconsigneesService;


@Service("clientconsigneesService")
public class ClientconsigneesServiceImpl extends ServiceImpl<ClientconsigneesDao, ClientconsigneesEntity> implements ClientconsigneesService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ClientconsigneesEntity> page = this.page(
                new Query<ClientconsigneesEntity>().getPage(params),
                new QueryWrapper<ClientconsigneesEntity>()
        );

        return new PageUtils(page);
    }

}